/*** 
 * @_______________#########_______________________ 
 * @______________############_____________________ 
 * @______________#############____________________ 
 * @_____________##__###########___________________ 
 * @____________###__######_#####__________________ 
 * @____________###_#######___####_________________ 
 * @___________###__##########_####________________ 
 * @__________####__###########_####_______________ 
 * @________#####___###########__#####_____________ 
 * @_______######___###_########___#####___________ 
 * @_______#####___###___########___######_________ 
 * @______######___###__###########___######_______ 
 * @_____######___####_##############__######______ 
 * @____#######__#####################_#######_____ 
 * @____#######__##############################____ 
 * @___#######__######_#################_#######___ 
 * @___#######__######_######_#########___######___ 
 * @___#######____##__######___######_____######___ 
 * @___#######________######____#####_____#####____ 
 * @____######________#####_____#####_____####_____ 
 * @_____#####________####______#####_____###______ 
 * @______#####______;###________###______#________ 
 * @________##_______####________####______________ 
 * @
 * @Author: ipk518 18163976442@163.com
 * @Date: 2024-06-19 10:31:14
 * @LastEditors: ipk518 121206530@qq.com
 * @LastEditTime: 2025-04-15 16:57:13
 * @FilePath: /etws-sxk2307/src/packetResolver/sdsCmdV1.h
 * @Description: 
 * @************佛祖保佑************
 * @Copyright (c) 2024 by etws@quyujiang, All Rights Reserved. 
 */

#ifndef __SDSCMDV1__
#define __SDSCMDV1__
#include "lxNodeV1.h"
#include "commHeader.h"

int global_callback_0(struct cmdDataType* cmd,uint8_t * cmdData);
int global_callback_1(struct cmdDataType* cmd,uint8_t * cmdData);
int global_callback_2(struct cmdDataType* cmd,uint8_t * cmdData);
int global_callback_3(struct cmdDataType* cmd,uint8_t * cmdData);
int global_callback_4(struct cmdDataType* cmd,uint8_t * cmdData);
int global_callback_5(struct cmdDataType* cmd,uint8_t * cmdData);
int global_callback_6(struct cmdDataType* cmd,uint8_t * cmdData);
int global_callback_7(struct cmdDataType* cmd,uint8_t * cmdData);
int global_callback_8(struct cmdDataType* cmd,uint8_t * cmdData);

int query_0_callback(struct cmdDataType* cmd,uint8_t * cmdData);
int query_1_callback(struct cmdDataType* cmd,uint8_t * cmdData);
int query_2_callback(struct cmdDataType* cmd,uint8_t * cmdData);
int query_3_callback(struct cmdDataType* cmd,uint8_t * cmdData);
int query_4_callback(struct cmdDataType* cmd,uint8_t * cmdData);
int query_5_callback(struct cmdDataType* cmd,uint8_t * cmdData);
int query_6_callback(struct cmdDataType* cmd,uint8_t * cmdData);
int query_7_callback(struct cmdDataType* cmd,uint8_t * cmdData);
int query_8_callback(struct cmdDataType* cmd,uint8_t * cmdData);
int query_9_callback(struct cmdDataType* cmd,uint8_t * cmdData);
int query_10_callback(struct cmdDataType* cmd,uint8_t * cmdData);

int sxk_callback_0(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_1(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_2(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_3(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_4(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_5(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_6(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_7(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_8(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_9(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_10(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_11(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_12(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_13(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_14(struct cmdDataType* cmd,uint8_t * cmdData);

int sxk_callback_15(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_16(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_17(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_18(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_19(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_20(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_21(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_22(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_23(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_24(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_25(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_26(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_27(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_28(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_29(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_30(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_31(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_32(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_33(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_34(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_35(struct cmdDataType* cmd,uint8_t * cmdData);
int sxk_callback_36(struct cmdDataType* cmd,uint8_t * cmdData);



/*伺服控制回调函数*/
int sxkMotor_callback_0(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_1(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_2(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_3(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_4(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_5(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_6(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_7(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_8(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_9(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_10(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_11(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_12(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_13(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_14(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_15(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_16(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_17(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_18(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_19(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_20(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_21(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_22(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_23(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_24(struct cmdDataType* cmd,uint8_t * cmdData);
int sxkMotor_callback_25(struct cmdDataType* cmd,uint8_t * cmdData);



extern std::map<int32_t, CallbackCmdFun> sdsCallbackMap;
extern std::map<int32_t, CallbackCmdFun> queryCallbackMap;
extern void sdsProtocolAnalysis(struct cmdDataType* cmd,uint8_t * cmdData);

#endif
